<template>
  <div class="a-wrapper">
    <p>页面正在调试中，非BUG</p>
    <a @click="onNormalClk">normal</a>
    <a @click="onNonNormalClk">non-normal</a>
  </div>
</template>
<script>
export default {
  props: {},
  components: {},
  data() {
    return {
      val: 'http://192.168.11.0:9090/transition',
    }
  },
  computed: {},
  mounted() {},
  filters: {},
  watch: {},
  methods: {
    onNormalClk() {
      const link = `http://wifi.alilo.com.cn/xiaohai/hht/course/index.html#/course/details?id=17`
      this.$store.dispatch(CONSTANTS.DISPATCH_REDIRECT, {
        url: link,
        isWebview: true,
      })
    },
    onNonNormalClk() {
      const link = `http://wifi.alilo.com.cn/xiaohai/hht/course/index.html#/course/details?id=17&utm_source=firerabbit_app&utm_medium=cpc&utm_content=banner&utm_campaign=#x840C;宝学说话`
      this.$store.dispatch(CONSTANTS.DISPATCH_REDIRECT, {
        url: link,
        isWebview: true,
      })
    },
  },
}
</script>

<style lang="less" scoped>
.a-wrapper {
  font-size: 20px;
  background-color: #fff000;
}
</style>
